home *** CD-ROM | disk | FTP | other *** search
/ Geek Games #12 / GEGA012.iso / Jogos de Azar / 599.swf / scripts / DefineButton2_114 / BUTTONCONDACTION on(release).as next >
Text File  |  2006-01-17  |  627b  |  37 lines

  1. on(release){
  2.    tellTarget("/sounds")
  3.    {
  4.       gotoAndStop("deal");
  5.       play();
  6.    }
  7.    if(risc)
  8.    {
  9.       firstTime = "1";
  10.       list = "";
  11.       listb = "01234";
  12.       descard = "";
  13.       credit += win;
  14.       if(win != "0")
  15.       {
  16.          tellTarget("/sounds")
  17.          {
  18.             gotoAndStop("cash");
  19.             play();
  20.          }
  21.       }
  22.       win = "0";
  23.    }
  24.    else if(end)
  25.    {
  26.       end = "0";
  27.       credit = "1000";
  28.    }
  29.    else if(help)
  30.    {
  31.       help = "0";
  32.       setProperty("/help", _visible, "0");
  33.       setProperty("/afis", _visible, "1");
  34.    }
  35.    call("deal");
  36. }
  37.